﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Buffers;
using System.Diagnostics;
namespace ZeusCore.Performance.Test
{
    public class ArrayPoolPerformance
    {
        public void PerformanceTest()
        {


            var buffer = Encoding.UTF8.GetBytes("{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}{Code:5202,Data:null,GuidRequest:null,Message:[Code=5202][Message=CANCELQRCODEORDER FAILD!PRICE ERROR][InnerMessage=]}");



            var stopWatch = new Stopwatch();
            var arrayPool = ArrayPool<byte>.Shared;
        }
    }
}
